import { PLATFORM_Map } from "@/constant/index";
import trafficcard from "@/assets/images/leftminsvg/trafficcard.svg?component";
export default {
	path: '/business-records',
	redirect: '/manage/business-records/traffic-card-renewal-records',
	meta: {
		title: '业务记录',
		showLink: true,
		rank: 6,
		icon: trafficcard,
		platform:[PLATFORM_Map.manage],
		// roles:['system.project-setmeal']
	},
	children: [
		{
			name: 'traffic-card-renewal-records',
			path: '/manage/business-records/traffic-card-renewal-records',
			component: () => import('@/views/manage/business-records/traffic-card-renewal-records/index.vue'),
			meta: {
				title: '流量卡续费记录',
				showParent: true,
				roles:['system.project-setmeal.sale']
			}
		},
		{
			name: 'equipment-renewal-records',
			path: '/manage/business-records/equipment-renewal-records',
			component: () => import('@/views/manage/business-records/equipment-renewal-records/index.vue'),
			meta: {
				title: '设备续费记录',
				showParent: true,
				roles:['system.project-setmeal.sale']
			}
		},
		{
			name: 'SMS-sales-records',
			path: '/manage/business-records/SMS-sales-records',
			component: () => import('@/views/manage/business-records/SMS-sales-records/index.vue'),
			meta: {
				title: '短信购买记录',
				showParent: true,
				roles:['system.project-setmeal.sale']
			}
		},
		{
			name: 'voice-sales-records',
			path: '/manage/business-records/voice-sales-records',
			component: () => import('@/views/manage/business-records/voice-sales-records/index.vue'),
			meta: {
				title: '语音购买记录',
				showParent: true,
				roles:['system.project-setmeal.sale']
			}
		}
	]
} satisfies RouteConfigsTable;
